home *** CD-ROM | disk | FTP | other *** search
/ Aminet 49 / Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso / Aminet / dev / basic / amiblitz2.26.readme < prev    next >
Encoding:
Text File  |  2002-04-28  |  6.9 KB  |  182 lines

  1. Short:    New Blitzbasic2 Version with FPU etc (incl. German AB2, PED&docs)
  2. Author:   Acidsoft /Red When Excited /berndroesch1@compuserve.de
  3. Uploader: Cj-Stroker@web.de (Webmaster at Amiforce)
  4. Type:     dev/basic
  5.  
  6. Thanks to Mark Sibly and Simon  Armstrong and RWE that they give me the Source and allow me to
  7. enhance my loved Blitzbasic2 and release it in Aminet as Amiblitz2
  8. The name Amiblitz2 is used because under Blitzbasic people
  9. mean the PC Version now.
  10. SO DONT SENT ANY MAIL ABOUT THIS VERSION TO ACID OR RWE only to the uploader
  11.  
  12. This is 100% (i hope) compatibel to Blitz2 
  13.  
  14. Copy amiblitz2 and ped to your blitzdir (The old Version work then too)
  15. Make sure you have the wizard.library (H&P Stormwizard 2.0 Lib) in libs:
  16. Copy blitzlibs/patchlibs to your blitzlibs/patchlibs dir: make a new deflibs file
  17. (deflibs also included for ready to run)
  18. If you want to use 68k asm fpu and ppc asm copy fpulib.obj to userlibs/beta
  19.  uses num 217 218 (mui lib use 218 so remove the muilib if you use this)
  20. If you want stormwizard copy wzlib.obj to userlibs/beta uses num 129
  21. (for ppc this is also needed)
  22. See examples and amigaguide for stormwizard
  23. If you want change anything of this in libsource is the source
  24. The program ppceq2 in examples dir is only need when you want
  25. program Bars&Pipes Plugins in PPC assembler
  26.  
  27. ahi bars&Pipes PPC stormwizard includes are in blitzlibs dir
  28. Also a all.res file is includeed for ready to run
  29.  
  30.  
  31. !!!!!!!!!!!!!!!!!!!!!!!!!!See new features also in history
  32.  
  33. Newslist:
  34. New 2.21
  35. Fixes see history
  36. A  prefs file  ped.prefs is used now for settings so save your settings again
  37.  
  38. CTRL+U       Undo Current Line
  39. CTRL+CRSUP   Begin
  40. CTRL+CRSDOWN end
  41. In pattern Gadgets you can use now 2 search phrases
  42. (word1 AND word2 must in line)
  43.  
  44. Tooltypes to amiblitz add
  45.  
  46. oldsearch = dont jump on beginning when call search dialog
  47. backdrop  = Use backdropwindow for text
  48.             (usefull for users which have no hotkey for window to back)
  49.             So this is set by default
  50. dontsort = do not sort lableview in alphabetic order
  51. libfile  = Let choose your deflibsfile.Shows deflibfile name in labelwindow
  52.  
  53.  
  54.  
  55. AmiBlitz Basic 2 V2.2 changes
  56. Editor
  57. Clickjump
  58. ALT+Left Mouse (crs right)          jump to function/label etc
  59. ALT+Mid  Mouse (crs up)             back to old pos  
  60.                (crs down)           back to previous pos
  61. Hotlist:show all label begin with . and functions
  62. max lines in Listview is set to 1000 
  63. Use the selectstring Gad. to precise your search
  64. ; Button   List all comments 
  65. all Button List all (use the select string) 
  66. Case Butt  List all case 
  67. cls        clear the findstringgadget
  68.  
  69.  
  70. Pressing and holding mousebuton over a list to slide fast thru the entries
  71. View Newtype: allow findstring to easier find types You can sort by name
  72.               or by offset
  73.               In the Windowtitle you can select with powersnap and insert
  74.  
  75. Instruction Help: Press Help with no char under the cursor
  76.                   (wi in selectstring all instructions with wi found)
  77.                   Doubleclicking opens Guide help (if available)
  78. Pressing help over a functioncall shows the 1. functionline and number used
  79. Pressing help over a word shows the wordcount so you can check if a basicvar is free
  80. or write wrong(if you want a new var it should 0/If you want access var1 it should show >0)
  81.  
  82. Hotlist Newtype and Instruction help can always stay open
  83. New menupoints
  84. Save & createexec
  85. Save & compile/execute
  86.  
  87. Save current textpos so when load Source is show in same line
  88.  
  89. Blitzbasic Compiler:
  90. Faster compiletime: (2-5* on large progs (30000 lines)because of using variable Hash ALG)
  91. (Large Include Files now have no speed loss)
  92. optimizer:  (Need fpulib.ob)
  93. add to your program optimize 1 switch it on or optimize 0 switch Integer off
  94.                     optimize 2 switch 68k FPU for Basic on
  95.     optimze 3 switch Integer Optimizer on AND switch FPU on
  96. By default it is off.If you develop a program dont use it.(Writing a optimizer
  97. must support many terms and i am the only that using Amiblitz2 so i am not sure
  98. if it is 100% errrorfree)
  99. In debugMode the FPU is always deactivte
  100. If your program is ready switch it on.If your program crash (Should not occur)
  101. you can find the statement and switch it off before and after that you can
  102. switch it on.If you find the place mail me the code sequence so i can try to fix it
  103. FPU switch must on before the first line (data dependency))
  104. What does it?
  105. it optimize if then,constant add,typeaccess and add a 32bit mul 32bit div
  106. Normally Code is ca 10%-20% slower than C if you not use too much
  107. functioncalls per second (use gosub then)
  108. For the FPU keep in mind that it use fsin fasin fsinh etc this is emulate
  109. in 040-060 (In UAEJIT it give full Speed)
  110.  
  111. Allow Speech Plugins (PPC Asm& 68k FPU exists now)
  112. You can add all processor codegens (X86 ARM C LISP all you want)
  113. See the fpulib.bb2 it add 68kfpu and PPC Inline Assembler
  114.  
  115.  
  116. You can write libs,plugins now:
  117. see the bars&Pipes examples or of course ted2.bb2
  118.  
  119. Allow Chip/BSS Segments (only one)
  120.  
  121. On macros you need not { } after a label you need no :
  122.  
  123. load .asm:
  124.  trys to convert a .asm File from other assemblers to Blitz
  125. Structures etc
  126. (See convert.asm to see what happen
  127. If this is worser as the old rename the .asm)
  128.  
  129. Lines can join with @@ for long tag lists (see blitzlibs/ahi.bb2 at end)
  130.  
  131. allow all 256 Chars in strings (©®öäü etc)
  132.  
  133.  muls.l/mulu.l/divs.l/divu.l in assembler (only reg reg is support now)
  134.  
  135. Putd0 Getd0 fast way to move vars from basic to asm (1 68k Cycle)
  136.  
  137. This is a short explain of the AmiBlitz2 features
  138.  
  139. Also enforcer hits in Editor and Compiler are removed (I hope)
  140.  
  141. From BB_Bugs now this files work correct (I hope)
  142. aslFilereq
  143. Dim
  144. d2trash
  145. sta_fun
  146. BTW AmiBlitz2.2 and ped is complete port to Amiblitz2.2 mixed Assembler
  147.     and Basic 20000 Lines take under 2 Sec with all.res to compile
  148.  
  149.  
  150.  
  151. Basicvars can access in assembler global move.l basicvarname@(a5),dx
  152.                                   local  move.l basicvarname@(a4),dx
  153.                                newtypes  move.l newtypevar@(a5),a0
  154.                                          move.l .newtypename\entry(a0),d0
  155.  
  156.                                float:    fmove.s basicvarname@(a5),dx (FPU on)
  157.  
  158.                                PPC:      lwz rx,basicvar@(r8)
  159.  
  160. function/statement  FAST funcname{}    FAST (must write exact)
  161.  
  162. The fast keyword tell that like C the local Vars are not set to zero
  163. (This save 20 Cycles +var*2)Note that you can get trouble like C if you make not
  164. not sure that a variable is set to a define value
  165.  
  166.  
  167.  
  168.  
  169. Bugreport ideas usw send to berndroesch1@compuserve.de
  170. If someone want programing on AmiBlitz2 too mail also
  171.    
  172. Known Problems:
  173.  
  174. If you have save a wrong screenmode clear envarc:ted.prefs env:ted.prefs
  175.  
  176. If the " " pair is not correct then wrong Instruction chars are shown
  177. (old Version show then Instruktion in black char).If you correct the " "
  178. to a sensefull state and move cursor up/down all is correct (no data lost possible)
  179.  
  180. This is because Amiblitz2 use now full 256 Chars, before it use only char
  181. 1-127 and all above are instructions
  182.